<?php

/**
 * @OA\Info(
 *   version="1.0.0",
 *   title="Sanctum + Swagger",
 *   description="Sanctum + Swagger 测试"
 * )
 */

/**
 * @OA\Server(
 *   description="Local server 1",
 *   url="http://swagger.laravel7120.cm/api",
 * )
 *
 * @OA\Server(
 *   description="Test server 2",
 *   url="https://swagger.laravel7120.cm/api/",
 * )
 */

 /**
  * @OA\Tag(
  *   name="course",
  *   description="课程"
  * )
  */

/**
 * @OA\Schema(
 *   schema="PaginateData",
 *   @OA\Property(property="current_page", type="integer", description="当前页码"),
 *   @OA\Property(property="last_page", type="integer", description="最后一页页码"),
 *   @OA\Property(property="total", type="integer", description="总条数"),
 * )
 */

/**
 * @OA\Get(
 *   path="/courses",
 *   summary="课程列表",
 *   operationId="courseList",
 *   tags={"course"},
 *   security={{"jwt": {}}},
 *   @OA\Response(response=200, description="OK",
 *     @OA\JsonContent(type="object",
 *       @OA\Property(property="data", @OA\Items(ref="#/components/schemas/Courses")),
 *       @OA\Property(property="meta", ref="#/components/schemas/PaginateData")
 *     )
 *   ),
 *   @OA\Response(response=401, description="Unauthorized")
 * )
 */
